<div id="InputForm">


	<?php if(isset($error))
			echo $error; 
			?>
	<?php echo form_open_multipart('admin/admin/registerCar');?>
	
	<?php
	$list=array('Registreringsnummer',
				form_input(array('id'=>'regPlate','name'=>'regPlate')),
				'Sittplatser',
				form_input(array('id'=>'seats','name'=>'seats')),
				'Modell',
				form_input(array('id'=>'model','name'=>'model')),
				'Beskrivning',
				form_input(array('id'=>'disc','name'=>'disc')),
				'Storleksklass',
				form_input(array('id'=>'sizeClass','name'=>'sizeClass')),
				'Nyckelnummer',
				form_input(array('id'=>'keyNumber','name'=>'keyNumber')),
				'Välj bild',
				'<input type="file" name="userfile" size="20" />',
				
				form_submit(array('id'=>'save'),'Spara')			
	);
	echo ul($list);	
	?>
	
</div>